package com.autumn.common.api.application.dto.input;

import javax.validation.constraints.NotNull;

import com.autumn.common.api.domain.entities.IEntity;

/**
 * 状态输入
 * 
 * @author 杨昌国 2018-12-20 11:29:58
 * @param <TPrimaryKey>
 */
public class StatusInput<TPrimaryKey> implements IEntity<TPrimaryKey>, IStatusInput<TPrimaryKey> {

	/**
	 * 
	 */
	private static final long serialVersionUID = 7385599534958746728L;

	private TPrimaryKey id;
	
	/**
	 * 状态
	 */
	@NotNull(message = "状态不能为空")
	private Integer status;

	@Override
	public TPrimaryKey getId() {
		return this.id;
	}

	@Override
	public void setId(TPrimaryKey id) {
		this.id = id;
	}
	
	@Override
	public Integer getStatus() {
		return status;
	}

	@Override
	public void setStatus(Integer status) {
		this.status = status;
	}

	
}
